<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        var obj = {
            name : 'abc',
            age : 123,
            card: ['visa', 'master'],
            wife:{
                name : 'ads',
                son: {
                    name : 'asb'
                }
            }
        }

        var obj1 = {
            name : obj.name,
            age : 123, 
            card : [obj.card[0],obj.card[1]],
        }
        
        function deepClone(origin, target){

        }
 </script>
</body>

</html>